package com.itheima.constant;

/**通用常量类
 * @author msi
 */
public class CommonConstant {
    /**
     *菜品分类 redis key常量字段
     */
    public final static String DISH_ID = "dish_";
    /**
     *套餐分类 redis key常量字段
     */
    public final static String SETMEAL_ID = "setmeal_";
    /**
     *
     *购物车redis key常量字段
     */
    public final static String CART_DISH = "shoppingCartDish_";
    /**
     * 异常 重复添加
     */
    public final static String DUPLICATE_ENTRY = "Duplicate entry";
    /**
     * 删除失败
     */
    public final static int DELETE_FAILED = 0;
    /**
     * 套餐不能删除
     */
    public final static int CANNOT_DELETE = 2;

    /**
     * 用户禁用状态
     */
    public final static String ACCOUNT_BANNED = "0";
}
